package com.homework4;

import java.io.*;
import java.nio.CharBuffer;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class demo {
    public static void main(String[] args) throws IOException {
        HashSet<Object> hashSet = new HashSet<>();
        BufferedReader bufferedReader = new BufferedReader(new FileReader("D:\\data.txt"));
        String string;
        while ((string=bufferedReader.readLine())!=null){
            hashSet.add(string);
        }
        String s = new Scanner(System.in).nextLine();
        if (hashSet.contains(s)){
        }else {
        }
    }
}
